<?php
return [
    /**
     * 默认缓存存储类型
     * 支持 file redis memcache
     */
    'default' => 'redis',
    'stores' => [
        'redis' => [
            'driver' => 'redis',
            'servers' => [
                [
                    'host' => '192.168.71.57',
                    'port' => '6380',
                    'password' => decrypt(env('REDIS_PASSWORD', 'foobared')),
                    'database' => 0,

                    'persistent' => false,
                    'timeout' => 10,
//                    'persistent_id' => 'common_cache',
                ],
                [
                    'host' => '192.168.71.58',
                    'port' => '6380',
                    'password' => decrypt(env('REDIS_PASSWORD', 'foobared')),
                    'database' => 0,

                    'persistent' => false,
                    'timeout' => 10,
//                    'persistent_id' => 'common_cache',
                ],
            ]
        ],

    ],
];